﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="V5_EShop._Template.Default.Member.index" %>

<%@ Register Src="Controls/menu.ascx" TagName="menu" TagPrefix="mm" %>
<%@ Register Src="Controls/header.ascx" TagName="header" TagPrefix="mm" %>
<%@ Register Src="Controls/footer.ascx" TagName="footer" TagPrefix="mm" %>
<%@ Register Src="Controls/usermenu.ascx" TagName="usermenu" TagPrefix="mm" %>
<%@ Register Src="Controls/verlogin.ascx" TagName="verlogin" TagPrefix="mm" %>
<mm:verlogin ID="verlogin2" runat="server" />
<%--验证用户登录--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>
        <%=config.SiteTitle %>-商品订单</title>
    <link rel="stylesheet" type="text/css" href="/_template/<%=config.TemplatePath %>/css/Default.css" />
    <link rel="stylesheet" type="text/css" href="/_template/<%=config.TemplatePath %>/css/init.css">
    <link rel="stylesheet" type="text/css" href="/_template/<%=config.TemplatePath %>/css/head.css">
</head>
<body>
    <div id="page">
        <mm:header ID="header1" runat="server" />
        <div class="clear">
        </div>
        <div class="banner">
            <img src="/_template/<%=config.TemplatePath%>/images/Default/guanggao.gif" width="950"
                height="72"></div>
        <span style="display: block; margin: 8px 0;">首页 >> 会员后台</span>
        <div class="left">
            <mm:usermenu ID="usermenu1" runat="server" />
            <div class="zuo_xia">
                <div>
                    <img src="/_template/<%=config.TemplatePath%>/images/Default/top.gif" width="195"></div>
                <div class="yhxx">
                    <mm:menu ID="menu1" runat="server" />
                </div>
                <img src="/_template/<%=config.TemplatePath%>/images/Default/bg_03.gif" width="195"
                    height="30"></div>
        </div>
        <div class="right">
            <p class="p_1">
                如果您要查看您的订单信息，请点击<a> 查看订单详情</a><br />
                如果您要填写发货地址，请点击<a href="/member/Shopping_Address.aspx"> 发货地址</a>
            </p>
            <div class="Content">
                <p class="p_2">
                    您目前的会员级别：<span><%=blluser.GetUserGroup(user.GroupID)%></span><br />
                    截至2010年3月22日，您共有<span>0</span>张单子完成交易，累计消费<span>0.00</span>元<br />
                    升级成为VIP会员：您还需要再消费<span>2000.0</span>元，或一次性消费<span>800</span>元以上<br />
                    升级成为白金卡会员：需要您一次性消费<span>1500.0</span>元以上
                </p>
                <h2 class="sydd">
                    所有订单</h2>
                <img src="/_template/<%=config.TemplatePath%>/images/Default/hengxian.gif" width="706"
                    height="2" style="margin: 8px 0 0 21px;">
                <ul class="ul_03">
                    <li class="li_01">订单号</li>
                    <li class="li_02">用户名</li>
                    <li class="li_03">总价</li>
                    <li class="li_04">状态</li>
                    <li class="li_05">查看详情</li>
                    <li class="li_08">订单属性</li>
                    <div class="clear">
                    </div>
                </ul>
                <asp:Repeater ID="rpOrderList" runat="server">
                    <ItemTemplate>
                        <ul class="ul_04">
                            <li class="li_01">
                                <%#DataBinder.Eval(Container.DataItem,"OrderNo") %></li>
                            <li class="li_02">
                                <%=user.TrueName %></li>
                            <li class="li_03">
                                <%#DataBinder.Eval(Container.DataItem, "TotalPrice")%>元</li>
                            <li class="li_04">
                                <%#DataBinder.Eval(Container.DataItem, "isfinished").ToString()=="1"?"完成":"<font color=red>处理中</font>"%></li>
                            <li class="li_05"><a href="/member/order_view.aspx?orderid=<%#DataBinder.Eval(Container.DataItem,"OrderID") %>">查看详情</a></li>
                            <li class="li_08">普通</li>
                            <div class="clear">
                            </div>
                        </ul>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
        </div>
        <mm:footer ID="footer2" runat="server" />
    </div>
</body>
</html>
